#ifndef RROBJECT_H
#define RROBJECT_H

#include "rrcomponent.h"

class RRTracer;

class RRObject
{
private:
    RRTracer *parent;
    map<int, RRComponent*> compset;
    int map_index;

public:
    RRObject();
    void rrBeginComponent(RRMaterial *arg);
    void rrSetPrim(RRPrim *arg);
    void rrEndComponent();
    void rrTrace(RRRay *ray, RRCrossInfo *arg);
};

#endif // RROBJECT_H
